package com.atguigu.blog.service;

import com.atguigu.blog.pojo.Category;

import java.util.List;
import java.util.Map;

/**
 * @author MikeCoder
 * @create 2023-11-2419:26
 * @description:
 * @verson:
 */
public interface CategoryService {
    List<Category> showAll();

    Map<String,Object> showByCname(Integer limit,Integer page,Category category);

    Integer add(Category category);

    Integer change(Category category);

    Category getCategoryByCid(Long cid);

    Integer remove(Long cid);
}
